package com.lp.biz.train.model.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.HashSet;
import java.util.Set;

/**
 * CreateClass
 *
 * @program: backend
 * @description: 创建/更新班级Entity
 * @author: Ke.Song
 * @since: 2024-05-21 10:36:15
 **/
@Data
public class CreateClass {

    private Integer id;

    @NotBlank(message = "班级名称不能为空")
    private String name;

//    @NotEmpty(message = "助教不能为空")
    private Set<Integer> assistantIds = new HashSet<>();

//    @NotEmpty(message = "导师不能为空")
    private Set<Integer> mentorIds = new HashSet<>();

//    @NotNull(message = "教练不能为空")
    private Integer trainerId;

//    @NotNull(message = "班主任不能为空")
    private Integer classTeacherId;

//    private LocalDate startAt;
//
//    private LocalDate endAt;


}
